package vns.shared;

import java.io.Serializable;

import com.google.appengine.api.datastore.Key;

import vns.client.helper.Eperm;

public class PermDTO implements Serializable {
	private Key id;
	private String propertyID;
	private String roleID;
	private String rolename;
	private String propertyName;
	private String objectTypeName;//Otype cua property 
	private Eperm value;
	
	public PermDTO(){}
	
	public PermDTO(Key Id,Eperm Eperm,String PropertyID,String RoleID){
		this.id=Id;
		this.propertyID=PropertyID;
		this.roleID=RoleID;
		this.value=Eperm;
		
	}
	
	public Key getId(){
		return id;
	}
	public String getObjectpropertyID() {
		return propertyID;
	}

	public void setObjectpropertyID(String objectpropertyID) {
		this.propertyID = objectpropertyID;
	}

	public String getRoleID() {
		return roleID;
	}

	public void setRoleID(String roleID) {
		this.roleID = roleID;
	}
	
	public void setId(Key Id){
		this.id=Id;
	}
	
	public Eperm getEperm(){
		return value;
	}
	
	public void setEperm(Eperm eperm){
		this.value=eperm;
	}

	public void setPropertyID(String propertyID) {
		this.propertyID = propertyID;
	}

	public String getPropertyID() {
		return propertyID;
	}

	public void setRolename(String rolename) {
		this.rolename = rolename;
	}

	public String getRolename() {
		return rolename;
	}

	public void setPropertyName(String propertyName) {
		this.propertyName = propertyName;
	}

	public String getPropertyName() {
		return propertyName;
	}

	public void setObjectTypeName(String objectTypeName) {
		this.objectTypeName = objectTypeName;
	}

	public String getObjectTypeName() {
		return objectTypeName;
	}

}
